﻿@using NewLife;
@using XCode;
@using XCode.Configuration;
@{
    var pair = Model as Pair;
    var entity = pair.First as IEntity;
    var item = pair.Second as FieldItem;

    var bs = this.Bootstrap();
    bs.Set(item);
}
<div class="form-group col-sm-12 col-md-@bs.GetGroupWidth()">
    @Html.Partial("_Form_Item", new Pair(entity, item))
</div>
